﻿package org.cshoo.sys.model.vo
	
{  

	[RemoteClass(alias="org.cshoo.sys.data.entity.Authority")]    
	[Bindable]  
	public class Authority  
	{  
		
		private var _id:Number;  
		private var _code:String;  
		private var _name:String;  
		private var _type:String;  
		private var _role:Role;  
		private var _user:User;  
		public var menu:Menu;  
		
		
		public function Authority()  
		{  
			
		}  
		
		public function get id():Number{  
			return _id;  
		}  
		
		public function set id(pData:Number):void{  
			_id=pData;  
		}  
		
		public function get code():String{  
			return _code;  
		}  
		
		public function set code(pData:String):void{  
			_code=pData;  
		}  
		
		public function get name():String{  
			return _name;  
		}  
		
		public function set name(pData:String):void{  
			_name=pData;  
		}  
		
		public function get type():String{  
			return _type;  
		}  
		
		public function set type(pData:String):void{  
			_type=pData;  
		}  
		
		public function get role():Role{  
			return _role;  
		}  
		
		public function set role(pData:Role):void{  
			_role=pData;  
		}  
		
		public function get user():User{  
			return _user;  
		}  
		
		public function set user(pData:User):void{  
			_user=pData;  
		}  
		
	}  
}